<?php

include_once("{$_SERVER['DOCUMENT_ROOT']}/header.php");
global $TABLE;
global $FOLDER_PATH;
global $BBS_PATH;
global $PAGE_LIST;
global $PAGE_SEARCH;
global $PAGE_ALL_DEL_OK;
global $PAGE_ALL_MOVE_OK;
global $CLASS;
global $FOLDER;
global $PAGE_MOD;

global $SESSION_WRITE;
global $SESSION_MOD;
global $SESSION_DEL;
global $SESSION_MOVE;
global $SESSION_ALL_DEL;
global $SESSION_ALL_MOVE;
global $SESSION_ALL_EXCUTE;

$SESSION_WRITE = $layer_id . "write";
$SESSION_MOD = $layer_id . "mod";
$SESSION_DEL = $layer_id . "del";
$SESSION_MOVE = $layer_id . "move";
$SESSION_ALL_DEL = $layer_id . "all_del";
$SESSION_ALL_MOVE = $layer_id . "all_move";
$SESSION_ALL_EXCUTE = $layer_id . "all_excute";





$TABLE = "tb_users"; //db의 테이블 이름 ,경로에서 해당 폴더이름과 일치해야함 새로운 게시판만들때 이것을 일치하게 수정할것
$FOLDER = "member"; //게시판의 폴더명
$CLASS_NAME = "CList";









$FOLDER_PATH = SCRIPT_ROOT . "/bbs/$FOLDER"; // folder 가 있는 경로
$FOLDER_PATH_PHP = PHP_ROOT . "/bbs/$FOLDER"; // folder 가 있는 경로
$BBS_PATH = "$FOLDER_PATH/main.php"; // main.php가 있는 경로
$PARA = "$BBS_PATH?category=$category&page=$page&layer_id=$layer_id&num=$num&order_by=$order_by";

$PAGE_LIST = "$PARA&bbs_mode=";
$PAGE_RE = "$PARA&bbs_mode=re";
$PAGE_RE_OK = "$PARA&bbs_mode=re_ok&bbs_uid=$bbs_uid&bbs_sort=$bbs_sort";
$PAGE_MOD = "$PARA&bbs_mode=mod";
$PAGE_MOD_OK = "$PARA&bbs_mode=mod_ok&bbs_uid=$bbs_uid";
$PAGE_DEL = "$PARA&bbs_mode=del&bbs_uid=$bbs_uid";
$PAGE_SEARCH = "$BBS_PATH?bbs_mode=";
$PAGE_ALL_DEL_OK = "$PARA&bbs_mode=all_del_ok&data1=";
$PAGE_ALL_MOVE_OK = "$PARA&bbs_mode=all_move_ok&data1=";
$PAGE_JOIN = "$PARA&bbs_mode=join";
$PAGE_JOIN_OK = "$PARA&bbs_mode=join_ok";
$PAGE_JOIN_END = "$PARA&bbs_mode=join_end";
$PAGE_LOGIN = "$PARA&bbs_mode=login";
$PAGE_LOGIN_OK = "$PARA&bbs_mode=login_ok";
$PAGE_ID_CHECK_OK = "$PARA&bbs_mode=id_check_ok";
$PAGE_NICKNAME_CHECK_OK = "$PARA&bbs_mode=nickname_check_ok";
